#ifndef PROTOCOLERROR_H
#define PROTOCOLERROR_H

#include "Exception.h"

class ProtocolError: public Exception {
public:
	ProtocolError( int code, const char * file, unsigned long line );
	ProtocolError( const char * message, const char * file, unsigned long line );
	ProtocolError( const char * message, int n, const char * file, unsigned long line );
	ProtocolError( const std::string & message, const char * file, unsigned long line );
	ProtocolError( const wchar_t * message, const char * file, unsigned long line );
	ProtocolError( const wchar_t * message, int n, const char * file, unsigned long line );
	ProtocolError( const std::wstring & message, const char * file, unsigned long line );
};

#endif
